#ifndef MIIO_COMMON_H
#define MIIO_COMMON_H

#ifndef INET_ADDRSTRLEN
#define INET_ADDRSTRLEN 16
#endif

#define TOKEN_SIZE 16
#define KEY_IV_SIZE 16
#define MIIO_SERVER_PORT 54321
#define HELLO_PACKET_SIZE 32

static const unsigned char hello_packet[] = {
    0x21, 0x31, 0x00, 0x20, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
    0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff};

#endif /* MIIO_COMMON_H */
